package com.spring.dynamicdatasource.utils;

/**
 * @author houkunlin
 * @date 2019/9/10 下午9:18
 */
@FunctionalInterface
public interface ExceptionBiFunction<T, U, R> {

    /**
     * Applies this function to the given arguments.
     *
     * @param t the first function argument
     * @param u the second function argument
     * @return the function result
     * @throws Exception
     */
    R apply(T t, U u) throws Exception;
}
